package com.luoc.base;

import com.luoc.base.rabbitmq.EnableRabbitMq;
import com.luoc.base.redis.EnableRedis;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @Author: luoc
 * @Date: 2019/7/3 14:00
 * @EnableConfigurationProperties 开启properties 外置参数
 */
@SpringBootApplication(scanBasePackages = "com.luoc.base")
@MapperScan("com.luoc.base.mapper")
@EnableSwagger2
@EnableRedis
//@EnableRabbitMq*/
@Slf4j
public class ControllerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ControllerApplication.class, args);

    }
}
